package cn.yonghui.hyd.gradleplugindemo

import android.content.pm.PackageManager
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.appcompat.app.AppCompatActivity

class MainActivity: AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        packageManager.getInstalledApplications(PackageManager.GET_META_DATA)

        findViewById<View>(R.id.tv_hello).setOnClickListener(object: View.OnClickListener {
            override fun onClick(p0: View?) {
                Log.i("ASMHelper", "onClick")
            }
        })
    }
}